{% load humanize %}
<h3>Production list</h3>
	<table>
		<tr>
			<th>Qle</th>
			<th>Item</th>
			<th>Runs</th>
			<th>Quantity</th>
		</tr>
		{% for i in l|dictsort:param|dictsort:'qle' %}
		<tr class="mat{{ i.qle|floatformat:"0" }} mat{{ i.qle|floatformat:"2"|cut:"."|cut:"," }}">
			<td>{{ i.qle }}</td>
			<td>{{ i.name }}</td>
			<td>{{ i.runs|floatformat:"0"|intcomma }}</td>
			<td class="qty">{{ i.qte|floatformat:"0"|intcomma }}</td>
		</tr>
		{% endfor %}
	</table>
